package com.leejxx.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leejxx.model.common.dto.ResponseResult;
import com.leejxx.model.wemedia.dtos.WmMaterialDto;
import com.leejxx.model.wemedia.pojos.WmMaterial;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Author LeeJx
 * @ClassName WmMaterialService
 * @Description TODO
 * @date 2021/2/24 12:19
 * @Version 1.0
 */
public interface WmMaterialService extends IService<WmMaterial> {
    ResponseResult uploadPicture(MultipartFile multipartFile);

    ResponseResult findList(WmMaterialDto wmMaterialDto);

    ResponseResult delPicture(Integer id);

    ResponseResult updateStatus(Integer id, Short type);
}
